home *** CD-ROM | disk | FTP | other *** search
/ Business Shareware / Business Shareware.iso / start / disk / usemgr10 / usemgr.dta / USEMGR.CFG < prev    next >
Text File  |  1993-04-02  |  9KB  |  218 lines

  1. ;SAMPLE USEMGR CONFIGURATION FILE - 01-30-1993 
  2.  
  3. ; This sample file is provided to explain how the USEMGR configuration file is
  4. ; constructed and to show how to make additions and changes to it.
  5. ;
  6. ; The USEMGR.CFG file is used by both USEMGR and USEMON to set up values of
  7. ; the program parameters. Most entries in the file are maintained by USEMGR
  8. ; itself, and users do not ordinarily need to worry about them. But some
  9. ; entries can only be made or changed by modifying this file directly. Any
  10. ; standard ASCII text editor can be used.
  11.  
  12. ; When USEMGR reads its configuration file, it ignores all blank lines, and
  13. ; all text following a semicolon. Comments can be placed anywhere in the file,
  14. ; but remember that when USEMGR rewrites a section of the file it will delete
  15. ; the comments in that section.
  16.  
  17. ; The file is divided into sections headed by a section name such as [OPTIONS]
  18. ; or [TOOLS]. The section name must be enclosed in brackets, and may contain
  19. ; multiple words up to a total of 15 characters. USEMGR and USEMON ignore case
  20. ; in section names. A section continues until the next section name or the end
  21. ; of the file is reached.
  22.  
  23. ;-----------------------------------------------------------------------------
  24. ; The [OPTIONS] section is used by USEMGR to set the startup condition for the
  25. ; number of lines on the screen (requires EGA or better monitor). It also
  26. ; determines the extent to which USEMGR will ask for confirmation before
  27. ; deleting or overwriting files. These items can be changed within USEMGR in the
  28. ; OPTIONS menu. The change can be made permanent by selecting OPTIONS SAVE
  29.  
  30. ; The next three items allow three groups of file types to be displayed in
  31. ; distinctive colors in the USEMGR directory display. The examples show
  32. ; typical uses. These entries must be made with an editor. The color choices
  33. ; are fixed, and cannot be changed by the user.
  34.  
  35. ;-----------------------------------------------------------------------------
  36. ; The [TOOLS] section defines the way in which user-supplied programs are
  37. ; accessed from USEMGR.  These programs will appear in the USEMGR TOOLS menu
  38. ; and can act on either the highlighted file, or on all of the marked files.
  39. ; This is the most flexible, but complicated, part of the USEMGR.CFG file.
  40. ; All changes and additions to this section must be made with an editor.
  41.  
  42. ; Each Tool is defined on a single line that has the following form:
  43. ;  KEY=MENU ENTRY, COMMAND,KEYCODE,STATUS,SCOPE,EDIT
  44.  
  45. ; Menu Entry - Text you want to appear in the Tools menu
  46. ; Command (Including default parameters)
  47. ; KeyCode is the code that defines the hot key for this entry. See the Appendix
  48. ; in the USEMGR manual.
  49. ;Status String is the Help entry that will appear on the bottom of the screen
  50. ;Scope: 1=Apply command to highlighted file
  51. ;       2=Apply command sequentially to all marked files
  52. ;       3=Create a list of marked files and insert filename where indicated
  53. ;         by @\xxxxxx\
  54. ;Edit   YES=Allow user to edit command before execution
  55. ;       NO=Execute command immediately.
  56.  
  57. ;Menu, Command and Key are required.
  58. ;Defaults will be used for the others if not present.
  59. ;However, the comma delimiters are always required.
  60.  
  61. ;Use %1 to indicate where in the command you want the filename inserted.
  62. ;The default for %1 is at the end of the command
  63.  
  64. ;Use %2 to indicate where you want user-supplied options to be inserted.
  65. ;Usemgr will open an edit window to get the options, and will insert them
  66. ;there.  The default is No user supplied options.
  67.  
  68. ;Use @\xxxxxx\ to have UseMgr supply a list of marked files for use by your
  69. ;program. UseMgr will insert filename where indicated  by @\xxxxxx\
  70. ;Example  Myprog  @\<\ results in Myprog <usemgr.tmp
  71.  
  72. ;-----------------------------------------------------------------------------
  73. ; When you save a filter in USEMGR, it writes a section in the USEMGR.CFG file
  74. ; with the name of the filter, defining each of the selection criteria in the
  75. ; filter. Since USEMGR will do this automatically, and has built-in error
  76. ; checking that will prevent inconsistent filter criteria, you probably will not
  77. ; need to create your own. But for completeness, here are the key words
  78. ; involved, using the default values as an example. NOTE that if any of
  79. ; these entries are not present, USEMGR will use the default values.
  80. ; You can have as many different filter entries as you want.
  81.  
  82. ; [EXAMPLE]                     ; Filter Name
  83. ;Files=*.*                      ;File specs to be displayed. Default is '*.*'
  84. ;MinCreateDate=01-01-1900       ; Earliest File Creation Date
  85. ;MaxCreateDate=12-31-2100       ; Latest File Creation Date
  86. ;MinSize=0                      ; Don't show files smaller than this.
  87. ;MaxSize=32000000               ; Don't show files larger than this.
  88. ;Hidden=NO                      ; Don't show Hidden files.
  89. ;SysFile=NO                     ; Don't show System files.
  90. ;MinUses=0                      ; Don't show files with fewer uses.
  91. ;MaxUses=999999                 ; Don't show files with more uses.
  92. ;MinDateUsed=01-01-1900         ; Don't Show files last used before this.
  93. ;MaxDateUsed=12-31-2100         ; Don't Show files last used after this.
  94. ;Sort=NAME                      ; Sort display by name
  95.  
  96. ;-----------------------------------------------------------------------------
  97. ; USEMON also uses the USEMGR.CFG file to specify the files for which it will,
  98. ; and will not process usage data.  These sections are [SELECT] and [REJECT].
  99.  
  100. ; An entry in either section can be one of three types, examples of which are
  101. ; shown below;
  102.  
  103. ; [REJECT]
  104. ; *.bak                          ; Don't count usage for any file with extension BAK
  105. ; c:\letters\*.old               ; Don't count usage for files in c:\letters subdirectory
  106.                                  ; with extension OLD
  107. ; c:\test\*.* /S                 ; Don't count usage for ANY file in c:\test or
  108.                                  ; any of its subdirectories.
  109.  
  110. ; The same syntax applies to the [SELECT] section, although the most likely
  111. ; entry there is *.*
  112.  
  113. ;-----------------------------------------------------------------------------
  114. ;Report formats are found in The [REPORTS] section of the config-
  115. ;uration file.  Report formats must be entered in this section by the
  116. ;user, using a text editor.  The format of this section is:
  117. ;
  118. ;[REPORTS]
  119. ;ReportName = Part [, Part] [,Part]  ....
  120. ;  where
  121. ;  Part = PartName [:n] | "Literal" [:n] |#:n
  122. ;  PartName = Path | Name | Ext | Size | CreateDate| CreateTime| Attrib
  123. ;             |Descr | UseDate | Count
  124. ;
  125. ;The optional :n in all cases but one defines the width of the field,
  126. ;within which text will be right-justified.  The exception is #:n,
  127. ;which means "Start next part at column n."
  128. ;-----------------------------------------------------------------------------
  129.  
  130. [OPTIONS]
  131. VGA25=YES                        ;Start USEMGR with 25 line screen
  132. ;VGA25=NO                        ;Start USEMGR with 43/50 line screen
  133. DeleteQuery=YES                  ;Ask user to confirm before deleting files
  134. ;DeleteQuery=NO                  ;Delete files without confirmation
  135. OverWriteQuery=YES               ;Ask user to confirm before overwriting existing file.
  136. ;OverWriteQuery=NO               ;Overwrite existing file without confirmation.
  137. ;1FileGroup=*.exe                ;Color Red
  138. ;2FileGroup=project*.wks *.xls   ;Color Brown
  139. ;3FileGroup=*.bak *.tmp *.jnk    ;Color Lt. Cyan
  140.  
  141. [TOOLS]
  142. ;KEY=ZIP           F3,4zip -ac @\@\ %2,3d00,ZIP marked files.  Prompts for ZIP file name and options.,3,No
  143. ;KEY=UNZIP      SH-F3,4unzip.exe,5600,Unzip current file,1,YES
  144. ;KEY=LIST          F4,list.com,3E00,View File as Text or Hex,1,NO
  145. ;KEY=EDIT       SH-F4,edit,5700,Edit ASCII text file,1,NO
  146. ;KEY=4EDIT         F5,4edit.exe,3F00,Edit file description,1,NO
  147.  
  148.  
  149.  
  150. [MISC JUNK]
  151. Files=*.bak *.tmp *.$$$ *.jnk junk*.*
  152. MinCreateDate=01-01-1900
  153. MaxCreateDate=12-31-2100
  154. MinSize=0
  155. MaxSize=32000000
  156. Hidden=NO
  157. SysFile=NO
  158. MinUses=0
  159. MaxUses=999999
  160. MinDateUsed=01-01-1900
  161. MaxDateUsed=12-31-2100
  162. Sort=NAME
  163.  
  164. [OFTEN USED]
  165. Files=*.*
  166. MinCreateDate=01-01-1900
  167. MaxCreateDate=12-31-2100
  168. MinSize=0
  169. MaxSize=32000000
  170. Hidden=NO
  171. SysFile=NO
  172. MinUses=25
  173. MaxUses=999999
  174. MinDateUsed=01-01-1900
  175. MaxDateUsed=12-31-2100
  176. Sort=NAME
  177.  
  178. [DEFAULT]
  179. Files=*.*
  180. MinCreateDate=01-01-1900
  181. MaxCreateDate=12-31-2100
  182. MinSize=0
  183. MaxSize=32000000
  184. Hidden=NO
  185. SysFile=NO
  186. MinUses=0
  187. MaxUses=999999
  188. MinDateUsed=01-01-1900
  189. MaxDateUsed=12-31-2100
  190. Sort=EXTENSION
  191.  
  192. [NOT USED]
  193. Files=*.*
  194. MinCreateDate=01-01-1900
  195. MaxCreateDate=12-31-2100
  196. MinSize=0
  197. MaxSize=32000000
  198. Hidden=NO
  199. SysFile=NO
  200. MinUses=0
  201. MaxUses=5
  202. MinDateUsed=01-01-1900
  203. MaxDateUsed=12-31-2100
  204. Sort=EXTENSION
  205.  
  206. [SELECT]
  207. *.*
  208.  
  209. [REJECT]
  210. *.$$$
  211. *.tmp
  212. *.bak
  213. *.swp
  214.  
  215. [REPORTS]
  216. Simple=Path,Name,".",Ext,#:40,Descr
  217. Columnar=Path,#:40,Name:9,Ext:4,Size:9,UseDate:9,Count:10
  218.